/*
 * 
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 *
 *     __  ___   ______        ___       __          ___
 *    |  |/  /  /  __  \      /   \     |  |        /   \
 *    |  '  /  |  |  |  |    /  ^  \    |  |       /  ^  \
 *    |    <   |  |  |  |   /  /_\  \   |  |      /  /_\  \
 *    |  .  \  |  `--'  |  /  _____  \  |  `----./  _____  \
 *    |__|\__\  \______/  /__/     \__\ |_______/__/     \__\
 *
 *
 *
 * Created by Tommy on 15/3/6.
 * Copyright (c) 2015 Koala Team. All rights reserved.
 */

#import <Foundation/Foundation.h>
#import "KLModel.h"

@protocol KLPushAlertModel;
@interface KLPushAlertModel:KLModel

@property (nonatomic, strong) NSString *title;
@property (nonatomic, strong) NSString *body;
@property (nonatomic, strong) NSString *titleLocKey;
@property (nonatomic, strong) NSArray *titleLocArgs;      //strings
@property (nonatomic, strong) NSString *actionLocKey;
@property (nonatomic, strong) NSString *locKey;
@property (nonatomic, strong) NSArray *locArgs;            //strings
@property (nonatomic, strong) NSString *launchImage;

@end



@protocol KLPUshAPNModel;
@interface KLPUshAPNModel:KLModel

@property (nonatomic, strong)KLPushAlertModel  *alert; //string or dictionary
@property (nonatomic, assign)NSUInteger badge;          //number
@property (nonatomic, strong)NSString  *sound;          //string
@property (nonatomic, strong)id         contentAvailable; //number

@end


@interface KLPushModel : KLModel
@property(nonatomic, strong)KLPUshAPNModel *aps;


//custom properties





@end